package com.xjh.mapper;

import java.sql.JDBCType;
import java.util.Date;
import org.mybatis.dynamic.sql.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;

public final class StudentDynamicDynamicSqlSupport {
    public static final StudentDynamic studentDynamic = new StudentDynamic();

    /**
     * 主键id
     */
    public static final SqlColumn<Long> id = studentDynamic.id;

    /**
     * 学生姓名
     */
    public static final SqlColumn<String> stuName = studentDynamic.stuName;

    /**
     * 学生性别
     */
    public static final SqlColumn<String> stuSex = studentDynamic.stuSex;

    /**
     * 学生生日
     */
    public static final SqlColumn<Date> stuBirthday = studentDynamic.stuBirthday;

    /**
     * 班级id
     */
    public static final SqlColumn<Long> classId = studentDynamic.classId;

    /**
     * 是否可用: 0-已删除;1-正常
     */
    public static final SqlColumn<Integer> isEnable = studentDynamic.isEnable;

    /**
     * 创建人
     */
    public static final SqlColumn<String> createBy = studentDynamic.createBy;

    /**
     * 创建时间
     */
    public static final SqlColumn<Date> createTime = studentDynamic.createTime;

    /**
     * 修改人
     */
    public static final SqlColumn<Long> updateBy = studentDynamic.updateBy;

    /**
     * 修改时间
     */
    public static final SqlColumn<Date> updateTime = studentDynamic.updateTime;

    public static final class StudentDynamic extends SqlTable {
        public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);

        public final SqlColumn<String> stuName = column("stu_name", JDBCType.VARCHAR);

        public final SqlColumn<String> stuSex = column("stu_sex", JDBCType.VARCHAR);

        public final SqlColumn<Date> stuBirthday = column("stu_birthday", JDBCType.TIMESTAMP);

        public final SqlColumn<Long> classId = column("class_id", JDBCType.BIGINT);

        public final SqlColumn<Integer> isEnable = column("is_enable", JDBCType.INTEGER);

        public final SqlColumn<String> createBy = column("create_by", JDBCType.BIGINT);

        public final SqlColumn<Date> createTime = column("create_time", JDBCType.TIMESTAMP);

        public final SqlColumn<Long> updateBy = column("update_by", JDBCType.BIGINT);

        public final SqlColumn<Date> updateTime = column("update_time", JDBCType.TIMESTAMP);

        public StudentDynamic() {
            super("student_dynamic");
        }
    }
}